<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ include file="../../attr.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!doctype html>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8">
    <link rel="stylesheet" href="${ctx}/css/sapar.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/css/common.css"/>
    <script type="text/javascript" src="${ctx}/js/jquery.js"></script>
    <script type="text/javascript" src="${ctx}/js/sapar.js"></script>
    <script type="text/javascript" src="${ctx}/js/WdatePicker.js"></script>
    <script type="text/javascript" src="${ctx}/assets/layer/layer.js"></script>
    <script type="text/javascript" src="${ctx}/js/kkpager.min.js"></script>
    <script type="text/javascript" src="${ctx}/js/jquery.PrintArea.js"></script>
    <link rel="stylesheet" type="text/css" href="${ctx}/css/kkpager_blue.css"/>

    <style>


        h5, h6 {
            margin-top: 0;
            margin-bottom: 10px;
        }

        .box {
            width: 200px;
            height: 300px;
            margin: 30px auto;
        }

        .box h1 {
            font-size: 20px;
        }

        .box p {
            font-size: 14px;
            text-align: right;
        }

        .box h6 {
            font-size: 16px;
            font-weight: normal;
        }

        .box span {
            display: block;
            width: 200px;
            height: 50px;
            margin-bottom: 10px;
        }

        .box h5 {
            font-weight: normal;
            font-size: 12px;
        }

    </style>
    <title>编辑包装</title>
</head>

<body>
<div id="saper-container">
    <div id="saper-hd"></div>
    <div id="saper-bd">


        <div class="box" style="width:200px;height:300px;margin:30px auto;">
            <h1 style="font-size:20px;">thorsoft 雷软</h1>
            <p style="font-size:14px;text-align:right;">手术间工作站</p>
            <h6 style="font-size:16px;font-weight:normal;">型号：LRWS270F-JF</h6>
            <h6 style="font-size:16px;font-weight:normal;">序列号：</h6>
            <span style="display:block;width:200px;height:50px;margin-bottom:10px;"><img
                    src="${ctx}/createBarCode.do?barType=CODE39&checkCharacter=n&checkCharacterInText=1111111&barHeightCM=0.75&st=y&textFont=宋体|BOLD|14&fontColor=BLACK&barColor=BLACK&code=LR271702000|SX"/></span>
            <h5 style="font-weight:normal;font-size:12px;">制造商：武汉雷软科技有限公司</h5>
            <h5 style="font-weight:normal;font-size:12px;">地址：湖北省武汉市东湖新技术开发区汤逊湖北路38号光谷总部空间7栋1单元4楼</h5>
        </div>


    </div>
    <div id="saper-ft">
        <input type="button" value="打印" id="print"/>
    </div>
</div>

</body>

<script type="text/javascript">
    $(function () {
        $("#print").click(function () {
            $("div#saper-bd").printArea();
        })
    })

</script>
</html>